package com.da.javatest.bean;

import com.da.javatest.annotation.DataMasking;
import com.da.javatest.enums.DataMaskingType;
import lombok.Data;

/**
 * @author JokerDa.
 * @date 2025/5/24 14:04
 * Description:
 */
@Data
public class Child2 {
    @DataMasking(type = DataMaskingType.CHINESE_NAME)
    private String name = "李富贵";

    @DataMasking(type = DataMaskingType.ID_CARD)
    private String idCardNumber = "321181199301096000";

    @DataMasking(type = DataMaskingType.CUSTOM, start = 2, end = 6)
    private String unifiedSocialCreditCode = "91310106575855456U";

    @DataMasking(type = DataMaskingType.EMAIL)
    private String email = "123456@qq.com";

    @DataMasking(type = DataMaskingType.PASSWORD)
    private String password = "123456";
}
